.modal {
    .modal-backdrop.in {
        background-color: #FFF;
        opacity: 0;
        filter: alpha(opacity=0);
    }
    .modal-dialog {
        margin-top: 180px;
        .modal-content {
            border: 7px solid rgba(40, 170, 197, 0.21);
            .modal-header {
                height: 5em;
                color: #28aac5;
                display: -webkit-flex;
                display: flex;
                align-items: center;
                justify-content: center;
                background: url(../images/login/modal_head_bg.png) no-repeat;
                background-size: cover;
            }
            .modal-body {
                .row {
                    margin: 5px 0;
                }
                .select2-container {
                    width: 100%;
                }
                .btn-primary {
                    border-color: #28aac5 !important;
                    color: #fff !important;
                    background-color: #28aac5 !important;
                }
                .btn-default {
                    border-color: #28aac5;
                    color: #28aac5;
                }
            }
            .modal-footer {
                border: 0 !important;
            }
        }
        .margin_bottom {
            margin-bottom: 30px;
        }
    }
}

textarea {
    width: 100%;
    text-indent: 15px;
}

.btn_yes {
    border: 1px solid #28aac5 !important;
    background-color: #28aac5!important;
}

.btn_cancel {
    border: 1px solid #28aac5!important;
    color: #28aac5!important;
}

.btn_cancel:hover {
    background-color: #fff!important;
}

.content {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    .nav-tabs {
        margin-top: 50px;
        padding-bottom: 5px;
        border-bottom: 2px solid #28aac5;
        li {
            a {
                border: none !important;
                -webkit-border-radius: 4px;
                -moz-border-radius: 4px;
                border-radius: 4px;
                color: #606060;
                &:hover,
                &:active,
                &:focus {
                    border: none !important;
                    color: #fff !important;
                    background-color: #28aac5 !important;
                }
            }
        }
        li.active a {
            color: #fff !important;
            background-color: #28aac5 !important;
        }
    }
    .tab-content {
        .myAccount {
            margin-top: 40px;
            .float_right {
                float: right;
            }
            .margin-bottom {
                margin-bottom: 0px;
            }
        }
        .orderContent {
            min-height: 100px;
            margin-top: 33px;
            height: auto;
            .order_list_1 {
                border: 1px solid #ccc;
                margin-bottom: 25px;
                .order_info {
                    .order_info_title {
                        padding: 15px 10px;
                        margin: 0;
                        border-bottom: 1px solid #ccc;
                        .order_number {
                            color: #1d1d1d;
                            font-weight: 900;
                        }
                        .purchase-quantity {
                            margin: 0 40px 0 90px;
                        }
                        .order_info_detail {
                            float: right;
                            .order_info_date {
                                font-size: 12px;
                                color: #CDCDCD;
                            }
                            span:last-child {
                                margin-left: 40px;
                            }
                        }
                    }
                }
                .order_details {
                    .ui_list {
                        min-height: 176px;
                        border-right: 1px solid #ccc;
                        margin: 0;
                        padding: 0;
                        .ui_list_item {
                            border-bottom: 1px solid #ccc;
                            &:last-child {
                                border-bottom: none;
                            }
                            .order_goods_pic {
                                float: left;
                                display: -webkit-flex;
                                display: flex;
                                -webkit-align-items: strecth;
                                align-items: strecth;
                                -webkit-justify-content: center;
                                justify-content: center;
                                width: 130px;
                                height: 96px;
                                margin: 15px 30px 15px 0;
                                img {
                                    max-width: 100%;
                                    max-height: 100%;
                                }
                            }
                            .order_goods_dec {
                                float: left;
                                .dec_name {
                                    color: #1d1d1d;
                                    font-weight: 900;
                                    padding-top: 15px;
                                }
                                .dec_code {
                                    font-size: 12px;
                                    color: #606060;
                                }
                            }
                            .order_goods_price {
                                float: right;
                                margin-top: 10px;
                                .goods_price {
                                    font-size: 16px;
                                    color: red;
                                }
                                .goods_num {
                                    margin: 0 30px 0 90px;
                                }
                            }
                        }
                    }
                    .order_bottom {
                        .price_line {
                            margin-top: 10px;
                            .order_bottom_info_a {
                                display: none;
                                margin-left: 0.3em;
                            }
                            .phone-pay-price {
                                margin-right: 0.3em;
                            }
                            p:last-child {
                                font-size: 20px;
                                color: red;
                            }
                        }
                        .order_pay {
                            margin-bottom: 15px;
                            a:first-child {
                                margin-bottom: 15px;
                                display: inline-block;
                            }
                        }
                        .btn_style_one {
                            width: 130px;
                            color: #28aac5;
                            border-color: #28aac5;
                        }
                        .btn_style_two {
                            width: 130px;
                            color: #28aac5;
                            border-color: #28aac5;
                        }
                        .btn_style_two:hover {
                            color: #fff;
                            background-color: #28aac5;
                        }
                        .btn_style_one:hover {
                            color: #fff;
                            background-color: #28aac5;
                        }
                    }
                }
                .clearBoth {
                    clear: both;
                }
            }
        }
        .formContent {
            border: 1px solid #ccc;
            margin-top: 33px;
            table {
                margin: 0;
                caption {
                    line-height: 50px;
                    .btn-default {
                        border-color: #28aac5;
                        a {
                            color: #28aac5;
                        }
                    }
                }
                thead {
                    background-color: #f4f4f4;
                }
                tr {
                    th,
                    td {
                        padding: 22px 8px;
                    }
                }
                tbody {
                    tr {
                        td:last-child {
                            a:nth-child(2) {
                                margin: 0 20px;
                                color: red;
                            }
                        }
                    }
                }
            }
        }
    }
}

.phone_address_list {
    display: none;
}

.p_add_address {
    display: none;
}

@media all and (max-width:640px) {
    .pc_messages_dom {
        display: none;
    }
    .content {
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        .nav-tabs {
            margin-top: 0.1rem;
            padding-bottom: 5px;
            border-bottom: 2px solid #28aac5 !important;
            display: -webkit-flex;
            display: flex;
            li {
                flex: 1;
                text-align: center;
                a {
                    border: none !important;
                    -webkit-border-radius: 4px;
                    -moz-border-radius: 4px;
                    border-radius: 4px;
                    color: #606060;
                    &:hover,
                    &:active,
                    &:focus {
                        border: none !important;
                        color: #fff !important;
                        background-color: #28aac5 !important;
                    }
                }
                .active {
                    color: #fff !important;
                    background-color: #28aac5 !important;
                }
            }
        }
        .tab-content {
            .myAccount {
                margin-top: 0.2rem;
            }
            .orderContent {
                min-height: 100px;
                margin-top: 0.2rem;
                height: auto;
                .order_list_1 {
                    border: 1px solid #ccc;
                    margin-bottom: 0.25rem;
                    .order_info {
                        .order_info_title {
                            padding: 1em 0.1em;
                            margin: 0;
                            border-bottom: 1px solid #ccc;
                            .order_number {
                                font-size: 10px;
                            }
                            .order_info_detail {
                                float: right;
                                .order_info_date {
                                    font-size: 10px;
                                }
                                span:last-child {
                                    display: none;
                                }
                            }
                        }
                    }
                    .order_details {
                        .ui_list {
                            min-height: 1em;
                            margin: 0;
                            padding: 0;
                            border: none;
                            .ui_list_item {
                                padding: 0;
                                border-bottom: 1px solid #ccc;
                                &:last-child {
                                    border-bottom: 1px solid #ccc;
                                }
                                .order_goods_pic {
                                    float: left;
                                    display: -webkit-flex;
                                    display: flex;
                                    -webkit-align-items: strecth;
                                    align-items: strecth;
                                    -webkit-justify-content: center;
                                    justify-content: center;
                                    width: 8.5em;
                                    height: 5.5em;
                                    margin: 0.4em;
                                    img {
                                        max-width: 100%;
                                        max-height: 100%;
                                    }
                                }
                                .order_goods_dec {
                                    float: left;
                                    width: 8em;
                                    .dec_name {
                                        white-space: nowrap;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        padding-top: 0.1rem;
                                        font-size: 14px;
                                    }
                                    .dec_code {
                                        font-size: 10px;
                                    }
                                }
                                .order_goods_price {
                                    float: right;
                                    margin: 0.6em 0.4em 0 0;
                                    .goods_price {
                                        display: block;
                                        font-size: 12px;
                                    }
                                    .goods_num {
                                        margin: 0;
                                        font-size: 10px;
                                    }
                                }
                            }
                        }
                        .order_bottom {
                            padding: 0;
                            .price_line {
                                margin: 0.15rem auto;
                                display: -webkit-flex;
                                display: flex;
                                align-items: center;
                                .order_bottom_info_a {
                                    display: block;
                                }
                                p {
                                    flex: 1;
                                    margin: 0;
                                }
                                p:nth-child(2) {
                                    flex: 2;
                                }
                                p:last-child {
                                    margin-right: 0.4em;
                                    font-size: 14px;
                                    color: red;
                                }
                            }
                            .order_pay {
                                margin: 0.2rem auto;
                                .btn_style_one {
                                    padding: 0.08rem 0.8rem;
                                }
                                .btn_style_two {
                                    margin: 0px;
                                    padding: 0.08rem 0.6rem;
                                }
                            }
                        }
                    }
                    .clearBoth {
                        clear: both;
                    }
                }
            }
            .formContent {
                border: none;
                margin-top: 0;
                .phone_address_list {
                    display: block;
                    .p_new_address {
                        margin: 0.2rem 0;
                    }
                    .card {
                        font-size: 0.28rem;
                        margin-bottom: 0.24rem;
                        border: 0.01rem solid #d1d1d1;
                        border-radius: 0.06rem;
                        box-shadow: 0 0.04rem 0.08rem rgba(50, 50, 50, 0.3);
                        .card_info {
                            padding: 0.2rem;
                            border-radius: 0.06rem 0.06rem 0 0;
                            border-bottom: 0.01rem solid #e1e1e1;
                            background-color: #fff;
                            line-height: 1.5;
                            p:first-child {
                                span:first-child {
                                    float: left;
                                }
                                span:last-child {
                                    float: right;
                                }
                            }
                        }
                        .card_bottom {
                            padding: 0.12rem 0.2rem 0.04rem;
                            border-radius: 0 0 0.06rem 0.06rem;
                            border-top: 0.01rem solid #f2f2f2;
                            background-color: #f4f4f4;
                            color: #5e5e5e;
                            overflow: hidden;
                            .card_bottom_left {
                                float: left;
                                .check {
                                    display: -webkit-inline-box;
                                    display: -webkit-inline-flex;
                                    display: -moz-inline-box;
                                    display: -ms-inline-flexbox;
                                    display: inline-flex;
                                    -webkit-box-align: center;
                                    -webkit-align-items: center;
                                    -moz-box-align: center;
                                    -ms-flex-align: center;
                                    align-items: center;
                                    .check-text {
                                        margin-left: 0.1rem;
                                    }
                                }
                            }
                            .card_bottom_right {
                                float: right;
                                .operate_item {
                                    display: -webkit-inline-box;
                                    display: -webkit-inline-flex;
                                    display: -moz-inline-box;
                                    display: -ms-inline-flexbox;
                                    display: inline-flex;
                                    -webkit-box-align: center;
                                    -webkit-align-items: center;
                                    -moz-box-align: center;
                                    -ms-flex-align: center;
                                    align-items: center;
                                    margin-left: 0.4rem;
                                }
                            }
                        }
                    }
                }
                .p_add_address {
                    display: none;
                    .p_add_address_btn {
                        div {
                            button:last-child {
                                float: right;
                            }
                        }
                    }
                    .col-xs-12 {
                        margin: 0.15rem 0;
                    }
                    .select2-container {
                        width: 100%;
                    }
                }
            }
        }
    }
}